﻿using EcoSystem.Enums;
using System;
using Volo.Abp.Application.Dtos;

namespace EcoSystem
{
    /// <summary>
    /// 领域模型对应的DTO
    /// </summary>
    public class ConfigSettingDto : EntityDto<Guid>
    {
         /// <summary>
         /// 分类
         /// </summary>
         public string Category {get;set;}

         /// <summary>
         /// 键名
         /// </summary>
         public string Key {get;set;}

         /// <summary>
         /// 键值
         /// </summary>
         public string Value {get;set;}

         /// <summary>
         /// 级别
         /// </summary>
         public ConfigLevel Level {get;set;}

         /// <summary>
         /// 系统模块/用户代码
         /// </summary>
         public string ProviderKey {get;set;}

         /// <summary>
         /// 系统模块代码
         /// </summary>
         public string ModuleCode {get;set;}

         /// <summary>
         /// 用途(前端或后端)
         /// </summary>
         public Usage Usage {get;set;}
    }
}
